<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>json-c</Name>
        <Homepage>https://github.com/json-c/json-c/wiki</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>MIT</License>
        <IsA>library</IsA>
        <Summary>A JSON implementation in C</Summary>
        <Description>json-c implements a reference counting object model that allows you to easily construct JSON objects in C, output them as JSON formatted strings and parse JSON formatted strings back into the C representation of JSON objects.</Description>
        <Archive sha1sum="dd6473818fe66f16e747ae0df626a2e1559343b9" type="targz">https://github.com/json-c/json-c/archive/json-c-0.15-20200726.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>cmake</Dependency>	
        </BuildDependencies>
        <Patches>
<!--             <Patch>wno-werror.patch</Patch> -->
        </Patches>
    </Source>
        
    <Package>
        <Name>json-c</Name>
        <Files>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="library">/usr/lib</Path>
        </Files>
    </Package>

    <Package>
        <Name>json-c-devel</Name>
        <PartOf>system.devel</PartOf>
        <Summary>Development files for json-c</Summary>
        <RuntimeDependencies>
            <Dependency release="current">json-c</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="data">/usr/lib/cmake</Path>
            <Path fileType="data">/usr/lib32/pkgconfig</Path>
            <Path fileType="data">/usr/lib32/cmake</Path>
        </Files>
    </Package>

    <Package>
        <Name>json-c-32bit</Name>
        <PartOf>emul32</PartOf>
        <Summary>32-bit shared libraries for json-c</Summary>
        <BuildType>emul32</BuildType>
        <BuildDependencies>
        </BuildDependencies>
        <Files>
            <Path fileType="library">/usr/lib32</Path>
        </Files>
    </Package>

    <History>
        <Update release="6">
            <Date>2020-12-09</Date>
            <Version>0.15.20200726</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2019-12-27</Date>
            <Version>0.13.1_20180305</Version>
            <Comment>Version bump</Comment>
            <Name>idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2018-07-15</Date>
            <Version>0.12.1</Version>
            <Comment>Rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-01-29</Date>
            <Version>0.12.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2016-04-27</Date>
            <Version>0.12</Version>
            <Comment>Release Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-08</Date>
            <Version>0.12</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
